package online.heycm.codegenerator.service.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author hey
 * @version 1.0
 * @date 2023/12/21 10:43
 */
@Data
public class ConnectReq {

    @NotEmpty
    private String type;

    @NotEmpty
    private String address;

    @NotNull
    private Integer port;

    @NotEmpty
    private String schema;

    @NotEmpty
    private String username;

    @NotEmpty
    private String password;

}
